<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes rr{
            0%{
        transform: translate(0, 0);
            }
            100%{
        transform: translate(1000px, 0);
            }
        }
        .box{
            height: 70px;
            width: 70px;
            background-color: pink;
            animation-name: rr;
            animation-duration: 3s;

        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>